Skip to content

fix: SSL string cipher intersection#1446

Open
TartanLlama wants to merge 6 commits intomainfrom
sy/string-split
Open

fix: SSL string cipher intersection#1446
TartanLlama wants to merge 6 commits intomainfrom
sy/string-split

Conversation

@TartanLlama
Copy link
Copy Markdown
Contributor

backend.cpp has two string split implementations, one of which has a dangling pointer issue. This PR removes both of these implementations and simply calls std::views::split.

Furthermore, the intersection algorithm was fundamentally broken: it looked for +/ rather than just +, and had an inverted condition. This PR also fixes this and adds tests for the intersection operator.

@TartanLlama TartanLlama marked this pull request as ready for review April 30, 2026 08:11
@zkat zkat enabled auto-merge (squash) May 1, 2026 22:47
@zkat zkat disabled auto-merge May 2, 2026 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants